def gettotal(name, *args):
    total = 0
    for score in args:
        total += score
    return total


total = gettotal("令狐冲", 80)
print("令狐冲的总分为{}".format(total))

total = gettotal("令狐冲", 70, 75, 80, 90)
print("令狐冲的总分为{}".format(total))